﻿#pragma once


// CLoginDialog 对话框

class AFX_EXT_CLASS zxLoginDialog : public CDialogEx
{
	DECLARE_DYNAMIC(zxLoginDialog)

public:
	zxLoginDialog(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~zxLoginDialog();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_LOGIN };
#endif

protected:
	CString m_strUser;
	CString m_strPasswd;
	CBitmap m_bgBitmap;
	CFont m_font;
	CStatic m_wndTitle;

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnBnClickedOk();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
};
